package com.newsee.remote;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @author liangzhi.chen
 * @description 基础配置
 * @date 2019/7/11 上午 09:26
 **/
@PropertySource(value = {
        "classpath:config/${spring.profiles.active}/system.properties"},
        encoding = "UTF-8", ignoreResourceNotFound = true)
@Configuration
@Data
public class SystemConfig {

    /**
     * basic认证账号
     */
    @Value("${sapAccount}")
    private String sapAccount;

    /**
     * basic认证密码
     */
    @Value("${sapPassword}")
    private String sapPassword;

    /**
     * 接收方系统标识
     */
    @Value("${sapReqTarSys}")
    private String sapReqTarSys;


}
